package com.leyou.service;


import com.leyou.search.pojo.SpecGroup;
import com.leyou.search.pojo.SpecGroupDTO;
import com.leyou.search.pojo.SpecParam;
import com.leyou.search.pojo.SpecParamDTO;

import java.util.List;

public interface IgroupService {
    List<SpecGroupDTO> queryGroupByCategory(Long id);

    List<SpecParamDTO> querySpecParams(Long gid ,Long cid,Boolean searching);

    void addGroupByGategory(SpecGroup specGroup);

    void deleteGroupByGategory(Long id);

    void updateGroupByGategory(SpecGroup specGroup);

    void addGroupParamByGategory(SpecParam specParam);

    void deleteGroupParamByGategory(Long id);

    void updateGroupParamByGategory(SpecParam specParam);

    List<SpecGroupDTO> querySpecsByCid(Long cid);
}
